How to add a sleep routine (without timers and loops, and with still 100% CPU Time;-)

in declarations:

Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

anywhere in the form:

Call Sleep(5000) ' for a delay of 5 seconds.

Tip submitted by Philipp Geiser